package com.yxlgateway.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yxlcommon.common.pojo.OrderComment;
import com.yxlcommon.common.pojo.RespBean;
import com.yxlcommon.common.vo.OrderCommentVo;

public interface OrderCommentService extends IService<OrderComment> {
    RespBean addComment(OrderComment orderComment);

    RespBean updateReplyComment(OrderComment orderComment);

    RespBean<IPage<OrderComment>> selectAllOrderCommentsByPage(Integer currentPage, Integer size, OrderComment orderComment);

    RespBean<Integer> changeOrderCommentById(OrderComment orderComment);

    RespBean<Integer> adminAddOrderComment(OrderComment orderComment);

    RespBean<OrderCommentVo> selectCommentById(OrderComment orderComment);

    RespBean<Integer> deleteOrderCommentById(OrderComment orderComment);
}
